/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.student.tp3assignment2.lspcomply.Impl;

import com.student.tp3assignment2.lspcomply.Shape;

/**
 *
 * @author Student
 */
public class Square implements Shape {
    int tSide;
    public Square(){}

    public void SetSide(int side) {
        tSide = side;
    }

     public void SetWidth(int width) {
        tSide = width;
    }

    public void SetLength(int length) {
        tSide = length;
    }

    public int GetArea() {
        return tSide * tSide;
    }

}
